package cate.game.role.show.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBBlog;
import cate.game.role.Role;
import cate.game.role.system.BlogConfig;
import easy.java.dev.note.NoteField;


@ClientMsg(title = "修改系统配置的 の 返回")
public class ModifyConfigResp implements MsgOutput {

    @NoteField("系统配置")
    public BlogConfig blogConfig;

    public ModifyConfigResp() {
    }

    public ModifyConfigResp(Role role) {
        blogConfig = role.getSystem().blogConfig;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBBlog.MODIFY_CONFIG_RESP;
    }
}
